﻿using System;
using System.Collections.Generic;
using System.Text;
using System.CodeDom;
using CodeDomHelper.Types;

namespace devtm.AutoMapper
{
    [CLSCompliant(false)]
    public interface ITemplateModel
    {

        
        TypeExpression Type { get; set; }

        CodeExpression CreateObject();

        CodeExpression InsertItem(CodeVariableReferenceExpression item, CodeVariableReferenceExpression target);

        bool NeedParameter { get; }

        string DescriptionParameter { get; }
        string Name { get; }
        string Parameter { get; set; }
        bool IsEnumerable { get; }
        string MapperName { get; set; }
    }


}
